import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import totas from 'components/common/toast/'
import Fastclick from 'fastclick'
import lazyout from 'vue-lazyload'

//解决移动端300ms延迟
Fastclick.attach(document.body)

Vue.prototype.$bus=new Vue()
Vue.config.productionTip = false
 Vue.use(totas)
 Vue.use(lazyout,{
  loading:require('assets/img/loading.png')
 })
new Vue({
 render: h => h(App), 
 router,
 store
}).$mount('#app')
